package com.ruoyi.user.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员级别对象 user_level
 *
 * @author ruoyi
 * @date 2024-01-04
 */
public class UserLevel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 级别ID
     */
    private Long levelId;

    /**
     * 级别值
     */
    @Excel(name = "级别值")
    private Integer levelValue;

    /**
     * 级别名称
     */
    @Excel(name = "级别名称")
    private String levelName;

    public void setLevelId(Long levelId) {
        this.levelId = levelId;
    }

    public Long getLevelId() {
        return levelId;
    }

    public void setLevelValue(Integer levelValue) {
        this.levelValue = levelValue;
    }

    public Integer getLevelValue() {
        return levelValue;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public String getLevelName() {
        return levelName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("levelId", getLevelId())
                .append("levelValue", getLevelValue())
                .append("levelName", getLevelName())
                .toString();
    }
}
